.class Lrexsee/natives/RexseeJavaView$9;
.super Ljava/lang/Object;
.source "RexseeJavaView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/natives/RexseeJavaView;->scrollTo(Ljava/lang/String;II)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/natives/RexseeJavaView;

.field private final synthetic val$viewTag:Lrexsee/natives/ViewTag;

.field private final synthetic val$x:I

.field private final synthetic val$y:I


# direct methods
.method constructor <init>(Lrexsee/natives/RexseeJavaView;Lrexsee/natives/ViewTag;II)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/natives/RexseeJavaView$9;->this$0:Lrexsee/natives/RexseeJavaView;

    iput-object p2, p0, Lrexsee/natives/RexseeJavaView$9;->val$viewTag:Lrexsee/natives/ViewTag;

    iput p3, p0, Lrexsee/natives/RexseeJavaView$9;->val$x:I

    iput p4, p0, Lrexsee/natives/RexseeJavaView$9;->val$y:I

    .line 503
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 506
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$9;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ScrollView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 507
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$9;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/ScrollView;

    iget v1, p0, Lrexsee/natives/RexseeJavaView$9;->val$x:I

    iget v2, p0, Lrexsee/natives/RexseeJavaView$9;->val$y:I

    invoke-virtual {v0, v1, v2}, Landroid/widget/ScrollView;->smoothScrollTo(II)V

    .line 513
    :goto_0
    return-void

    .line 508
    :cond_0
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$9;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "HorizontalScrollView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 509
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$9;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/HorizontalScrollView;

    iget v1, p0, Lrexsee/natives/RexseeJavaView$9;->val$x:I

    iget v2, p0, Lrexsee/natives/RexseeJavaView$9;->val$y:I

    invoke-virtual {v0, v1, v2}, Landroid/widget/HorizontalScrollView;->smoothScrollTo(II)V

    goto :goto_0

    .line 511
    :cond_1
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$9;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    iget v1, p0, Lrexsee/natives/RexseeJavaView$9;->val$x:I

    iget v2, p0, Lrexsee/natives/RexseeJavaView$9;->val$y:I

    invoke-virtual {v0, v1, v2}, Landroid/view/View;->scrollTo(II)V

    goto :goto_0
.end method
